package com.sunwayworld.baseline.business.labelprint.dto;

import com.deepoove.poi.data.PictureRenderData;
import com.deepoove.poi.data.PictureType;

/**
 * @ClassName LabelPrintDTO
 * @Author zhoujq
 * @Date 2023/2/9
 * @Version 1.0
 **/
public class LabelPrintDTO {
    // 样本标签1
    private String specialSubjectCode;// 专题号
    private String clinicalProtocolNumber;// 临床方案编号
    private String clinicalCenterNumber;// 临床中心编号
    private String subjectRandomNumber;// 受试者随机号
    private String planCollectTime;// 计划采集时间
    private String matrix;// 基质
    private String sampleCode;// 样本编号

    private String centerName;// 中心名称
    private String usefulTime;// 采集有效期

    private byte[] barcode;//二维码
    private int barCodeSize = 50;
    private String date;// 日期

    // 仪器设备字段
    private String equipCode; //设备编号
    private String equipName; //设备名称
    private String manufacturer; //生产厂家
    private String specificationModel; //规格型号
    private String eqClass;// 仪器分类

    // 材料字段
    private String matCode; // 材料编码
    private String matName; // 材料名称
    private String specifications; // 规格
    private String cargoNo; // 货号
    private String batchNo;// 批号
    private String expiredTime;// 过期时间
    private String storageConditions;// 存储条件

    // 样本标签前面圆形区域的上半部分和下半部分
    private String codeFront;
    private String codeBack;

    public String getCodeFront() {
        return codeFront;
    }

    public void setCodeFront(String codeFront) {
        this.codeFront = codeFront;
    }

    public String getCodeBack() {
        return codeBack;
    }

    public void setCodeBack(String codeBack) {
        this.codeBack = codeBack;
    }

    public String getMatCode() {
        return matCode;
    }

    public void setMatCode(String matCode) {
        this.matCode = matCode;
    }

    public String getEqClass() {
        return eqClass;
    }

    public void setEqClass(String eqClass) {
        this.eqClass = eqClass;
    }

    public String getMatName() {
        return matName;
    }

    public void setMatName(String matName) {
        this.matName = matName;
    }

    public String getSpecifications() {
        return specifications;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    public String getCargoNo() {
        return cargoNo;
    }

    public void setCargoNo(String cargoNo) {
        this.cargoNo = cargoNo;
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public String getExpiredTime() {
        return expiredTime;
    }

    public void setExpiredTime(String expiredTime) {
        this.expiredTime = expiredTime;
    }

    public String getStorageConditions() {
        return storageConditions;
    }

    public void setStorageConditions(String storageConditions) {
        this.storageConditions = storageConditions;
    }

    public String getEquipCode() {
        return equipCode;
    }

    public void setEquipCode(String equipCode) {
        this.equipCode = equipCode;
    }

    public String getEquipName() {
        return equipName;
    }

    public void setEquipName(String equipName) {
        this.equipName = equipName;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getSpecificationModel() {
        return specificationModel;
    }

    public void setSpecificationModel(String specificationModel) {
        this.specificationModel = specificationModel;
    }

    public String getSpecialSubjectCode() {
        return specialSubjectCode;
    }

    public void setSpecialSubjectCode(String specialSubjectCode) {
        this.specialSubjectCode = specialSubjectCode;
    }

    public String getClinicalProtocolNumber() {
        return clinicalProtocolNumber;
    }

    public void setClinicalProtocolNumber(String clinicalProtocolNumber) {
        this.clinicalProtocolNumber = clinicalProtocolNumber;
    }

    public String getClinicalCenterNumber() {
        return clinicalCenterNumber;
    }

    public void setClinicalCenterNumber(String clinicalCenterNumber) {
        this.clinicalCenterNumber = clinicalCenterNumber;
    }

    public String getSubjectRandomNumber() {
        return subjectRandomNumber;
    }

    public void setSubjectRandomNumber(String subjectRandomNumber) {
        this.subjectRandomNumber = subjectRandomNumber;
    }

    public String getPlanCollectTime() {
        return planCollectTime;
    }

    public void setPlanCollectTime(String planCollectTime) {
        this.planCollectTime = planCollectTime;
    }

    public String getMatrix() {
        return matrix;
    }

    public void setMatrix(String matrix) {
        this.matrix = matrix;
    }

    public String getSampleCode() {
        return sampleCode;
    }

    public void setSampleCode(String sampleCode) {
        this.sampleCode = sampleCode;
    }

    public String getCenterName() {
        return centerName;
    }

    public void setCenterName(String centerName) {
        this.centerName = centerName;
    }

    public String getUsefulTime() {
        return usefulTime;
    }

    public void setUsefulTime(String usefulTime) {
        this.usefulTime = usefulTime;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public int getBarCodeSize() {
        return barCodeSize;
    }

    public void setBarCodeSize(int barCodeSize) {
        this.barCodeSize = barCodeSize;
    }

    public PictureRenderData getBarcode() {
        return new PictureRenderData(this.barCodeSize, this.barCodeSize, PictureType.JPEG, barcode);
    }

    public void setBarcode(byte[] barcode) {
        this.barcode = barcode;
    }
}
